{% extends "base.html" %}

{% block content %}
  <div id="content">  
    <div id="row">
    {% for page in pages %}
      {% if page.row %}
        </div>
        <div id="row">
      {% endif %}
      <div id="box" name="box">  
        <section>
          <a href="{{page.link}}">{{page.heading|safe}}</a>
        </section>  
      </div>  
    {% endfor %}
    </div>  
  </div>  
{% endblock %}
